/* 容器样式 */
#room3d-container {
    width: 100%;
    height: 800px;
    position: relative;
    background-color: #f0f0f0;
}

/* 统计面板样式 */
.rack-stats {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1001;
}

.rack-stats-header {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.rack-stats-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rack-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rack-stats-row .label {
    color: #666;
    font-size: 14px;
}

.rack-stats-row .value {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* 机柜详情面板样式 */
.rack-details-panel {
    position: absolute;
    top: 260px;
    right: 20px;
    width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.panel-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.devices-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.devices-table th,
.devices-table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.devices-table th {
    background: #f5f5f5;
}

.no-devices {
    color: #666;
    text-align: center;
    padding: 20px;
} 